package com.example.junit.service.impl;

import com.example.junit.dao.UserDao;
import com.example.junit.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public void addUser(String user) {
        this.userDao.insertIntoUser(user);
    }
}
